package com.ymatou.query.seller.trading.api.parameter.info;

import java.math.BigDecimal;
import java.util.Date;

public class OrderBasicInfo {
	
	/**
     * 订单号
     */
    private long id;

    /**
     * 主单号
     */
    private long mainOrderId;

    /**
     * 下单时间
     */
    private Date createdTime;

    /**
     * 取消时间
     */
    private Date cancelledTime;


    /**
     * 接单时间
     */
    private Date acceptedTime;


    /**
     * 订单来源
     */
    private String source;


    /**
     * 订单类型0:商品订单1:扫货订单2:下单器订单
     */
    private int type;


    /**
     * 订单状态
     */
    private int status;


    /**
     * 订单总金额
     */
    private BigDecimal totalPrice;


    /**
     * 订单折扣
     */
    private BigDecimal discount;

    /**
     * 是否预售订单
     */
    private boolean preSaleOrder;

    /**
     * 业务来源类型
     */
    private Integer bizType;

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public long getMainOrderId() {
		return mainOrderId;
	}

	public void setMainOrderId(long mainOrderId) {
		this.mainOrderId = mainOrderId;
	}

	public Date getCreatedTime() {
		return createdTime;
	}

	public void setCreatedTime(Date createdTime) {
		this.createdTime = createdTime;
	}

	public Date getCancelledTime() {
		return cancelledTime;
	}

	public void setCancelledTime(Date cancelledTime) {
		this.cancelledTime = cancelledTime;
	}

	public Date getAcceptedTime() {
		return acceptedTime;
	}

	public void setAcceptedTime(Date acceptedTime) {
		this.acceptedTime = acceptedTime;
	}

	public String getSource() {
		return source;
	}

	public void setSource(String source) {
		this.source = source;
	}

	public int getType() {
		return type;
	}

	public void setType(int type) {
		this.type = type;
	}

	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}

	public BigDecimal getTotalPrice() {
		return totalPrice;
	}

	public void setTotalPrice(BigDecimal totalPrice) {
		this.totalPrice = totalPrice;
	}

	public BigDecimal getDiscount() {
		return discount;
	}

	public void setDiscount(BigDecimal discount) {
		this.discount = discount;
	}

	public boolean isPreSaleOrder() {
		return preSaleOrder;
	}

	public void setPreSaleOrder(boolean preSaleOrder) {
		this.preSaleOrder = preSaleOrder;
	}

	public Integer getBizType() {
		return bizType;
	}

	public void setBizType(Integer bizType) {
		this.bizType = bizType;
	}
}
